# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=lua-resty-session
pkgver=2.23
pkgrel=0
pkgdesc="Session library for OpenResty"
url="https://github.com/bungle/lua-resty-session"
arch="noarch"
license="BSD2"
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/bungle/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
options="!check"

package() {
	cd "$builddir"
	mkdir -p "$pkgdir/usr/share/lua/common"
	cp -r ./lib/resty "$pkgdir/usr/share/lua/common"
}

sha512sums="1cd2364569509a6f7be4e1ed2cdbb55d24e192bf3a55fcf9edef92a1af07d7533e7d250abb7d8b4587c5bdf582a006516264e99a350e7fc66ae47b127c40466e  lua-resty-session-2.23.tar.gz"
